package com.tiennt.android.callnotes.models.viewholders;

import com.tiennt.android.callnotes.R;

import android.view.View;
import android.widget.TextView;

public class ListNotesByContactViewHolder {
	private View base;
	private TextView tvNoteTitle;
	private TextView tvNoteContent;

	public ListNotesByContactViewHolder(View v) {
		base = v;
	}

	public TextView getTvNoteTitle() {
		if (tvNoteTitle == null) {
			tvNoteTitle = (TextView) base.findViewById(R.id.tvNoteTitle);
		}
		return tvNoteTitle;
	}

	public TextView getTvNoteContent() {
		if (tvNoteContent == null) {
			tvNoteContent = (TextView) base.findViewById(R.id.tvNoteContent);
		}
		return tvNoteContent;
	}

}
